﻿using System;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace LAPI.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ItestServices" in both code and config file together.
    [ServiceContract]
    public interface ItestServices
    {
        [WebInvoke(Method = "GET",
            ResponseFormat = WebMessageFormat.Json,
            UriTemplate = "test1?id={id}")]        
        String dataTestID(String id);

        [WebInvoke(Method = "GET",
            ResponseFormat = WebMessageFormat.Json,
            UriTemplate = "test2?id={id}&action={action}")]
        String dataTestActionByID(String id, String action);

    }
}
